<%--
  Created by IntelliJ IDEA.
  User: xuaner
  Date: 2017/11/10
  Time: 11:43
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<html>
<head>
    <title>查询结果</title>
</head>
<body>
     <table border="1" width="500px" align="center">
         <tr align="center">
                 <td>车次</td>
                 <td>出发地</td>
                 <td>目的地</td>
                 <td>票价</td>
         </tr>

         <c:if  test="${not empty stationDto}">
             <tr align="center">
             <td>${stationDto.trainNum}</td>
             <td>${stationDto.start}</td>
             <td>${stationDto.end}</td>
             <td>${stationDto.price}</td>
             </tr>
         </c:if>

         <a href="../query.jsp"><input type="button" value="查询其他班次"></a>
     </table>
</body>
</html>
